<!DOCTYPE html>
<html>
  <head>
    <title>testFrame</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script type="text/javascript">
      function test()
      {
        //待补完（つづく）
        var oFrame = parent.document.getElementById("testFrame");
        oFrame.setAttribute("style", "border:none;background-color:green");
      }
    </script>
  </head>
  <body>
    <input type="button" value="点我执行js" onclick="test();" />
  </body>
</html>
